package moe.bogos.douro.api.common.entity;

import net.minecraft.entity.EntityClassification;
import net.minecraft.entity.EntityType;
import net.minecraft.world.World;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;

@Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.MOD)
public class DAEntities
{
    public static EntityType<SoulRingDropEntity> SOUL_RING;

    @SubscribeEvent
    public static void onEntityRegistry(final RegistryEvent.Register<EntityType<?>> event)
    {
        SOUL_RING = EntityType.Builder.<SoulRingDropEntity>of(SoulRingDropEntity::new, EntityClassification.MISC)
                .sized(0.5F, 0.5F).build("soul_ring_drop");
        event.getRegistry().register(SOUL_RING.setRegistryName("soul_ring_drop"));
        /*
        EntityRegistry.registerModEntity(new ResourceLocation(DouroAPI.MODID, Constants.SOUL_RING),
                EntitySoulRing.class, Constants.SOUL_RING, 0, DouroAPI.instance, 32, 1, false);
        EntityRegistry.registerModEntity(new ResourceLocation(DouroAPI.MODID, "soul_beast"),
        		EntitySoulBeast.class, "soul_beast", 151, DouroAPI.instance, 60, 1, true);
        EntityRegistry.registerModEntity(registryName, entityClass, entityName, id, mod, trackingRange, updateFrequency, sendsVelocityUpdates);
        */
    }
}
